package com.dailygreetings.dailygreetings.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
 * @BelongsProject: daily-greetings
 * @BelongsPackage: com.dailygreetings.dailygreetings.config
 * @Author: shanzhengfei
 * @CreateTime: 2024-11-21  18:28
 * @Description: 彩云天气配置
 * @Version: 1.0
 */

@Data
@Component
@ConfigurationProperties(prefix = "caiyun")
public class CaiyunConfig {
    private String token;
    private String location;
}
